﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tanmia.Core;
using Tanmia.Basis.Domain;

namespace Tanmia.Domain
{
    public class UnitDomain : BaseDomainObject<Unit>
    {
        public IList<Unit> GetsWithNullUnit()
        {
            return GetsWithSelect(Gets(), Unit.NullUnit, Unit.SelectUnit);
        }

        public IList<Unit> GetsWithSelect()
        {
            return GetsWithSelect(Gets(), Unit.SelectUnit);
        }
    }
}
